package com.ewanghuiju.app.base.contract.pintuan;

import com.ewanghuiju.app.base.BasePresenter;
import com.ewanghuiju.app.base.BaseView;
import com.ewanghuiju.app.model.bean.request.PtistarGroupBean;
import com.ewanghuiju.app.model.bean.response.AddressListResponBean;
import com.ewanghuiju.app.model.bean.response.RuleBean;
import com.ewanghuiju.app.model.http.response.BaseResponse;

/**
 * @author sj  qq:751943509
 * @class describe
 * @time 2020/2/18
 */
public interface PintuanSureOrderContract {

    interface View extends BaseView {

        void showContent(String list);

        void showMoreContent(String list);

        void showSelectedAddress(AddressListResponBean addressListResponBean);

        void showPay(BaseResponse baseResponse);

        void showPayError(int code, String msg);

        void isbindPwd();

        void nobindPwd();

        void showPtiguize(RuleBean bean);
    }

    interface Presenter extends BasePresenter<View> {

        void getData();

        //立即支付
        void nowPay(PtistarGroupBean ptistarGroupBean);

        //参团
        void ptijoinGroup(PtistarGroupBean ptistarGroupBean);

        void getIsbindPwd();

        //规则
        void getPtiguize(String type);
    }
}